<template>
  <div class="order-header">
    <div class="container clearfix">
      <div class="header-logo fl">
        <router-link to="/"></router-link>
      </div>
      <div class="title">
        <h2>
          我的购物车<span
            >温馨提示：产品是否购买成功，以最终下单为准哦，请尽快结算</span
          >
        </h2>
      </div>
      <div class="username fr">
        <a href="javascript:;">一拳渣渣琴</a>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "order-header",
  components: {},
  data() {
    return {};
  },
};
</script>
<style lang="less" scoped>
.order-header {
  padding: 30px 0;
  height: 55px;
  line-height: 55px;
  border-bottom: 2px solid #ff6600;
  .container {
    position: relative;
    width: 1226px;
    margin: 0 auto;
    .header-logo {
      display: inline-block;
      width: 55px;
      height: 55px;
      background-color: #ff6600;
      a {
        display: inline-block;
        width: 110px;
        height: 55px;
        &:before {
          content: " ";
          display: inline-block;
          width: 55px;
          height: 55px;
          background: url(/imgs/mi-logo.png) no-repeat center;
          background-size: 55px;
          -webkit-transition: margin 0.2s;
          transition: margin 0.2s;
        }
        &:after {
          content: " ";
          display: inline-block;
          width: 55px;
          height: 55px;
          background: url(/imgs/mi-home.png) no-repeat center;
          background-size: 55px;
        }
      }
    }
    .title {
      float: left;
      margin-left: 54px;
      h2 {
        font-size: 28px;
        color: #333333;
        font-weight: bold;
      }
      span {
        font-size: 14px;
        margin-left: 17px;
        color: #999999;
        font-weight: 200;
      }
    }
    .username {
      display: inline-block;
      height: 65px;
      line-height: 65px;
      color: #666666;
      font-size: 16px;
    }
  }
  .clearfix:before,
  .clearfix:after {
    content: " ";
    display: table;
  }
}
</style>